<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>
  {{info}}
  <input type="text" v-model="info">
  <h1>注册页面</h1>
  用户名<input type="text" v-model="user.username" placeholder="输入用户名">
  密码<input type="text" v-model="user.password" placeholder="输入密码">
</div>
<script src="js/vue.min.js"></script>
<script>
  let v=new Vue({
    el:"body>div",
    data:{
      info:"双向绑定",
      user:{username:'',
        password:''}
    }
  })
</script>
</body>
</html>